// var main = "http://mraw.bus365.cn"
var main = "https://wwwd.bus365.cn"
var token = '{ "devicetoken": "", "clienttoken":"' + wx.getStorageSync("clienttoken") + '", "clienttype": "weixx", "version": "1.0" }'
function requestLoading(url, params,method,header, success, fail) {
    console.log(params)
    wx.request({
        url: 'http://wwwd.bus365.cn'+url,
        data: params,
        // header: {
        //     'content-type': 'application/x-www-form-urlencoded'
        // },
        method: method,
        success: function (res) {
        },
        fail: function (res) {
        },
        complete: function (res) {

        }
    })
}
module.exports = {
    main: main,
    // request: requestLoading,
    token: token
}